package light.head.model;
import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

/** 
 * @author 简航 E_mail:janhang@126.com
 * @version 创建时间：May 26, 2008 1:35:42 PM 
 * 角色菜单映射
 * 主要操作的DAO为：RoleDAO
 */
@Entity
@Table
@IdClass(RoleHandlePK.class)
public class RoleHandle implements Serializable {
	
	private static final long serialVersionUID = 1L;

	private Integer roleCode;
	private String handleCode;  

	@Id
	@Column
	public Integer getRoleCode() {
		return roleCode;
	}
	@Id
	@Column
	public String getHandleCode() {
		return handleCode;
	}

	
	
	
	
	
	
	
	
	
	
	public void setRoleCode(Integer roleCode) {
		this.roleCode = roleCode;
	}
	public void setHandleCode(String handleCode) {
		this.handleCode = handleCode;
	}
}
